package operator;
/*
    关系运算符 : ==,!=,>,<,>=,<=

    1. 被关系运算符连接起来的式子叫 关系表达式
    2. 关系表达式的结果一定是 boolean 类型
    3. 不要把 == 写成了 =
 */
public class OperatorDemo6 {
    public static void main(String[] args) {
        int a = 5;
        int b = 8;

        System.out.println(a == b);
        System.out.println(a != b);
        System.out.println(a > b);
        System.out.println(a >= b);
        System.out.println(a < b);
        System.out.println(a <= b);
        System.out.println("---------------------");
        System.out.println(a == b);//false
        System.out.println(a = b);//8

    }
}
